package com.wish.g01.base.dto;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/*账单类型*/
public enum BillType {
    SFDBG("收房贷变更",1),
    TZBG("退租变更",2),
    PTZD("普通账单",3),
    XYJS("续约结算",4);

    BillType(String name, int index) {
        this.name = name;
        this.index = index;
    }

    @JsonValue
    private String name;
    @EnumValue
    private int index;
}
